echo "发布前端"
cd huantv_ott_zero
git pull
cd ant-design-vue-jeecg
npm run build
cd dist
tar cvf dist.tar *
scp dist.tar caixiaoxu@10.35.36.205:~
ssh caixiaoxu@10.35.36.205 <<!
        sudo su -
        cd /opt/front
        rm -rf /opt/front/*
        tar xvf /home/caixiaoxu/dist.tar -C /opt/front/
!